When an unspecialized cell changes into a more complex one that performs a specific function, the process is called cellular differentiation.
Differentiation means the development of distinct, specialized characteristics; it stems from a Latin root meaning "difference." As any multicellular organism develops, cellular differentiation transforms basic stem cells into the specialized cells needed to form things like muscles, skin, and organs. This process continues throughout childhood and even into adulthood: If you cut your finger, stem cells differentiate into specialized cells that can heal the wound.